CUW\App\Helpers\Cart C

Total Complexity 105
Dependencies 9
Dependents 6
Total lines 489
Lines of code 300
Logical lines of code 190
Comment lines 125
Methods 14
Properties 7

Methods 14

Method Rating Maintainability Complexity Lines of code
addOffer()
B
39 20 59
getData()
A
40 14 58
isOfferApplicable()
A
45 13 40
getPricePerItem()
A
51 10 23
getBundledItems()
A
56 10 17
addProduct()
A
51 9 24
isProductApplicable()
S
53 7 22
getAddedProducts()
S
61 5 12
getAppliedOffers()
S
61 5 12
getProductIds()
S
61 5 12
getRecentlyAddedProductId()
S
66 3 8
filterProducts()
S
67 2 7
hasProduct()
S
79 1 3
isOfferApplied()
S
78 1 3